import request from '../utils/request'

export function init() {
    return request({
        url: '/admin/index/init',
        method: 'get'
    })
}

export function getBlogContributeCount() {
    return request({
        url: '/uum-blog/api/v1/doc/listBlogContributeCount',
        method: 'get'
    })
}

export function getCategoryPieData() {
    return request({
        url: '/uum-blog/api/v1/doc/listCategoryPieData',
        method: 'get'
    })
}

export function getLabelPieDate() {
    return request({
        url: '/uum-blog/api/v1/doc/listTagPieDate',
        method: 'get'
    })
}


export function getVisitByWeek() {
    return request({
        url: '/uum-admin/api/v1/visit/getVisitByWeek',
        method: 'get'
    })
}
